<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.dao.Users"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改当前用户</title>
</head>
<body>
<%
	Users obj=(Users)request.getSession().getAttribute("UserMessage");
%>
<div style=" height:300px; line-height:63px" align="center" >
		<h1>修改当前用户</h1>
		<form action="<%=request.getContextPath() %>/UsersServlet" method="post">
			当前登录用户：<%=obj.getUsername()%><br>
			用户昵称：<input name="nickname" type="text" value="<%=obj.getNickname() %>"><br> 
			用户密码：<input name="password" type="text" value="<%=obj.getPassword() %>"><br> 
			<input type="submit" name="submittype" value="修改当前用户">
			<input type="reset" name="submittype" value="重置">
  	   </form>
  	   <form action="control.jsp" method="post">
			<input name="submittype" type="submit" value="返回"/>
  	   </form>
	</div>
</body>
</html>